<template>
  <div class="desc">
    <home-nav title="MV简介" :more="false"/>
    <div>
      <p class="flex flex-col">
        <span>
          <b>发布时间：</b>
          <span>{{ store.currentInfo.type === 10 ? desc?.publishTime : timestampToYMD(desc?.publishTime) }}</span>
        </span>
        <span>
          <b>播放次数：</b>
          <span>{{ filter( desc?.playCount ?? desc.playTime, 2) }}</span>
        </span>
      </p>
    </div>
    <div>
      <p>{{ desc?.desc }}</p>
      <p>{{ desc?.briefDesc }}</p>
      <p>{{ desc?.title }}</p>
    </div>
  </div>
</template>

<script setup>
import HomeNav from '@/components/HomeNav/index.vue'
import filter from '@/hooks/filter'
import { timestampToYMD } from "@/utils/index";
import {useStore} from "@/store/index";
const store = useStore()
defineProps({
  desc: {
    type: Object,
    default: {}
  }
})
</script>

<style scoped>

</style>
